package zengjin.model.en;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author 19324
 * @TableName collect
 */
@TableName(value ="collect")
@Data
public class Collect implements Serializable {

    /**
     * 收藏的企业I或者岗位的ID
     */
    @TableId
    private Long collectId;

    /**
     * 收藏的人ID
     */
    private Long collectJobseekerId;

    /**
     * 收藏的类型-岗位或者企业
     */
    private String collectType;

    /**
     * 收藏的企业I或者岗位的ID
     */
    private Long collectJobEmployerId;

    /**
     * 收藏日期
     */
    private Date collectDate;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    //    逻辑删除
    @TableLogic
    private Integer isDeleted;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}